const CreateStudentRequest = {
    realname: {
        type: "string",
        required: true,
        description: "学生姓名",
        example: "张帅",
        format: /^[\w\W]{1,20}$/,
    },
    code: {
        type: "string",
        required: true,
        description: "学号",
        example: "178732919283",
        format: /^\w{3,20}$/,
    },
    password: {
        type: "string",
        required: true,
        description: "登录密码",
        example: "123456",
        format: /^\w{3,20}$/,
    },
    gid: {
        type: "string",
        required: true,
        description: "班级ID",
        example: "ZO4x-If9D-rNEg-fIMS",
        format: /^[\w-]{19}$/,
    },
};

module.exports = { CreateStudentRequest };
